<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Tilt</title>

    <script type="application/x-javascript" src="../../bin/Tilt-engine.js"></script>
    <script type="text/javascript">
      function init() {

        var canvas, tilt;

        function setup() {
          canvas = Tilt.Document.initFullScreenCanvas();
          tilt = new Tilt.Renderer(canvas);
        }

        function draw() {
          tilt.loop(draw);
          tilt.clear(1, 0, 0, 1);
        }

        setup();
        draw();
      }
    </script>
  </head>
  <body onload="init()">
  </body>
</html>
